package com.guo.hui.dao.cms;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.guo.hui.model.cms.Permission;

public interface PermissionMapper {

	void insert(Permission record);

	Permission selectByKey(Integer id);

	void update(Permission record);

	Set<String> selectByUserId(int id);

	List<Permission> selectByMap(Map<String, Object> map);
}